<div class="layui-container fly-marginTop">
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title">
        <li><a href="{:url('home/index/login')}">登入</a></li>
        <li class="layui-this">注册</li>
      </ul>
      
      <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <div class="layui-form layui-form-pane">
            <form method="post">
              <!-- 邮箱 -->
              <div class="layui-form-item">
                <label for="email" class="layui-form-label">邮箱</label>
                <div class="layui-input-inline">
                  <input type="email" id="email" name="email" required placeholder="请输入邮箱" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">将会成为您唯一的登入名</div>
              </div>

              <!-- 昵称 -->
              <div class="layui-form-item">
                <label for="nickname" class="layui-form-label">昵称</label>
                <div class="layui-input-inline">
                  <input type="text" id="nickname" name="nickname" required placeholder="请输入昵称" class="layui-input">
                </div>
              </div>

              <!-- 密码 -->
              <div class="layui-form-item">
                <label for="password" class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                  <input type="password" id="password" name="password" placeholder="请输入密码" class="layui-input">
                </div>
              </div>

              <!-- 确认密码 -->
              <div class="layui-form-item">
                <label for="repass" class="layui-form-label">确认密码</label>
                <div class="layui-input-inline">
                  <input type="password" id="repass" name="repass" required placeholder="请再次确认密码" class="layui-input">
                </div>
              </div>

              <!-- 验证码 -->
              <div class="layui-form-item">
                <label for="L_vercode" class="layui-form-label">验证码</label>
                <div class="layui-input-inline">
                  <input type="text" id="L_vercode" name="vercode" required placeholder="请输入验证码" class="layui-input">
                </div>
                <div class="">
                  <span style="color: #c00;">
                    <img style="width: 150px;height: 40px;" src="{:url('home/index/captcha')}" onclick="this.src=`{:url('home/index/captcha')}`" />
                  </span>
                </div>
              </div>

              <div class="layui-form-item">
                <button class="layui-btn" type="submit">立即注册</button>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>